@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
   
}

body {
  background-color: #202020;
  color: #ffffff;
}

@font-face {
    font-family: Spectral;
    src: url(../font/Spectral/Spectral-Medium.ttf);
}

@font-face {
    font-family: Noto_Sans_JP;
    src: url(../font/Noto_Sans_JP/static/);
}


header .top-bar {
    position: fixed;
    width: 100%;
    height: 10vw;
    background-color: #202020;
    z-index: 100;    
  }

header .top-box {
    display: flex;
    height: 4vw;
    margin-left: 3%;
    margin-right: 3%;
    margin-top: 2%;
    animation: slideinTop 3s;    
}
  
@keyframes slideinTop {
    0% {
      transform: translateY(-50px);
    }
    100% {
      transform: translateY(0);
    }
}


header h1 img {
    width: 100%;
    height: 3vw;
}


header nav {
    width: fit-content;
    margin-left: auto; 
}

header nav ul {
    display: flex;
}

header nav ul li {
    width: fit-content;
    margin-right: 2em;
    line-height: 2;
    list-style-type: none;
}

header nav ul li:nth-of-type(5){
    margin-right: 0em;
}


header nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-family: Spectral;
    font-size: 1.7vw;
    transition: 0.5s
}

header nav ul li a:hover {
    color: #818180;
    transition: 0.5s 
}




/* トップ画像 */
.top-photo {
    background-image: url(../images/topphoto3.jpg);
    height: 30vw;
    margin-bottom: 10%;
    background-size: cover;  
    filter: grayscale(85%);
    }



/* スライドショー */
.slide {
  position: relative;
  overflow: hidden;
  width: 750px;
  height: 500px;
  margin-top: 10%;
  margin-left: auto;
  margin-right: auto;
  /* margin: auto; */
  background: #202020;
}
.slide img {
  display: block;
  position: absolute;
  width: inherit;
  height: inherit;
  left: 100%;
  animation: slide-anime 36s ease infinite;
}
.slide img:nth-of-type(1) {animation-delay: 0s;}
.slide img:nth-of-type(2) {animation-delay: 4s;}
.slide img:nth-of-type(3) {animation-delay: 8s;}
.slide img:nth-of-type(4) {animation-delay: 12s;}
.slide img:nth-of-type(5) {animation-delay: 16s;}
.slide img:nth-of-type(6) {animation-delay: 20s;}
.slide img:nth-of-type(7) {animation-delay: 24s;}
.slide img:nth-of-type(8) {animation-delay: 28s;}
.slide img:nth-of-type(9) {animation-delay: 32s;}
.slide img:nth-of-type(10) {animation-delay: 36s;}
 
@keyframes slide-anime{
  0% {left: 100%;}
  5% {left: 0;}
  18% {left: 0;}
  20% {left: -100%;}
  100% {left: -100%;}
}



/* スライドライン */

.bbs{
  align-items: center;
  color: #fff;
  display: flex;
  height: 10vw;
  line-height: 2;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
  margin-top: 10%;
  z-index: 1;
}
.bbs ul {
  animation: flowing 60s linear infinite;
  font-size: 1.5vw;
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}
.bbs ul li{
  display: inline-block;
  padding-right: 3%;
  font-family: Spectral;
  letter-spacing: 0.07em;
  filter: opacity(40%);
}
@keyframes flowing {
  0% { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}





/* フッター */
footer {
  padding: 6% 12.5%;
  background-color: rgb(43, 44, 44)
}

footer img {
  width: 27%;
  margin-bottom: 4%;
}

.logoline {
    display: flex;
}

.line {
    width: 65%;
    margin-left: 11%;
    margin-right: auto;
    margin-bottom: 5%;
    border-bottom: 0.5px solid #ffffff;
}


.footer-flexbox {
    display: flex;
}

footer .addressbox {
  width: 38%;
}


footer .addressbox address {
    font-weight: 200;
    font-size: 1.1vw;   
    font-style: normal;
    line-height: 2;
    font-family: Noto_Sans_JP;
    letter-spacing: 0.07em;
    color: #fff;  
}

.textbox {
    display: flex;
    width: 70%;
    margin-left: 5%;
}

.footer-middlebox {
  width: 20%;
}

.footer-rightbox {
    width: 20%;
    margin-left: 10%;
}


footer .footer-middlebox a, .footer-rightbox a {
    line-height: 2;
    font-weight: 200;
    font-size: 1.1vw; 
    text-decoration: none;  
    color: #fff;
    transition: 0.5s;
  }

  footer .footer-middlebox a:hover {
    font-weight: 400;
    transition: 0.5s;
  }
  
  footer .footer-rightbox a:hover {
    font-weight: 400;
    transition: 0.5s;
  }

footer .sns-icon {
    width: 13%;
    margin-left: 15%;
    height: fit-content;
    font-size: 1.5vw;
  }

footer .sns-icon .fa-brands {
    color: #fff;
  }

footer .sns-icon .fa-instagram {
  margin-left: 17%;
  }
  
footer .textbox p {    
    letter-spacing: 0.07em;
    font-size: 0.9vw;
    color: #fff;
}